const db = wx.cloud.database()
const App = getApp()

Page({

  /**
   * 页面的初始数据
   */
  data: {
    // tabbar 
    list: [{
        pagePath: '/pages/administrator/home/index',
        iconPath: "../../images/icon/home.png",
        color: "text-blue",
        text: '首页',
      },
      {
        pagePath: '/pages/administrator/management/list/index',
        iconPath: "../../images/icon/practice-action.png",
        color: "text-gray",
        text: '管理',
      },
      {
        pagePath: '/pages/administrator/message/list/index',
        iconPath: "../../images/icon/teaching.png",
        color: "text-gray",
        text: '消息',
      },
      {
        pagePath: '/pages/administrator/my/index',
        iconPath: "../../images/icon/my.png",
        color: "text-gray",
        text: '我的',

      }
    ],

    // 导航模块
    navList: [{

        text: "日程管理",
        icon: "icon-richengguanli",
        pagePath: "/pages/course/list/index"

      }, {

        text: "资源库",
        icon: "icon-wenjianjia",
        pagePath: "/pages/folder/list/index"
      }, {

        text: "专业班级",
        icon: "icon-banjixinxi",
        pagePath: "/pages/myclass/list/index"
      },
      {

        text: "校外实践",
        icon: "icon-jidiguanli",
        pagePath: "/pages/practiceBase/list/index"
      },
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})